package com.xbongbong.pro.rabbitmq.producer;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.enums.smartsettings.enums.AiAssistantPushTypeEnum;
import com.xbongbong.pro.message.pojo.dto.MessageRabbitMqDTO;

/**
 * @Author: hongxiao
 * @date: 2019-11-17 11:05
 */
public interface AiAssistantBaseProducer {
    /**
     * 智能助手：消息生产者
     *
     * @param pushTypeEnum 推送类型
     * @param message 消息内容
     * @throws
     * @return
     * @author hongxiao
     * @date 2019-11-17 11:07
     * @since
     * @version
     */
    void sendMessage(AiAssistantPushTypeEnum pushTypeEnum, MessageRabbitMqDTO message) throws XbbException;
}
